var config = {
    pro: {
        gameName: 'xiangshupro',
        port: 33101,
        masterPort: 33201,
        mongodbName: 'xiangshupro',
        mongodbUrl: "mongodb://root:123456789qwe@localhost:27017",
        log4js: {
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: 'log4js/pro/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/pro/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['err', 'info'],
                    level: 'error'
                }
            }
        }
    },
    dev: {
        gameName: 'xiangshudev',
        port: 33102,
        masterPort: 33202,
        mongodbUrl: "mongodb://root:123456789qwe@localhost:27017",
        mongodbName: 'xiangshudev',
        log4js: { // trace, debug, info, warn, error, fatal
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: './log4js/dev/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/dev/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['info', 'err'],
                    level: 'debug'
                }, //appenders:采用的appender,取appenders项,level:设置级别
            }

        },
        reward: {
            arenaPoint: {

            }
        }
    },
    demo: {
        gameName: 'xiangshuDemo',
        port: 33103,
        masterPort: 33203,
        mongodbUrl: "mongodb://root:123456789qwe@localhost:27017",
        mongodbName: 'xiangshudemo',
        log4js: {
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: 'log4js/demo/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/demo/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['err', 'info'],
                    level: 'error'
                }
            }
        }
    },
    adminDev: {
        gameName: 'xiangshudev',
        port: 33105,
        serverMasterPort: 33202,
        mongodbUrl: "mongodb://root:123456789qwe@127.0.0.1:27017",
        mongodbName: 'xiangshudev',
        log4js: {
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: 'log4js/adminDev/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/adminDev/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['err', 'info'],
                    level: 'error'
                }
            }

        }
    },
    adminDemo: {
        gameName: 'xiangshudemo',
        port: 33107,
        serverMasterPort: 33203,
        mongodbUrl: "mongodb://root:123456789qwe@localhost:27017",
        mongodbName: 'xiangshudemo',
        log4js: {
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: 'log4js/adminDemo/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/adminDemo/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['err', 'info'],
                    level: 'error'
                }
            }

        }
    },
    adminPro: {
        gameName: 'xiangshupro',
        port: 33106,
        serverMasterPort: 33201,
        mongodbUrl: "mongodb://root:123456789qwe@localhost:27017",
        mongodbName: 'xiangshupro',
        log4js: {
            appenders: {
                stdout: { //控制台输出
                    type: 'stdout'
                },
                info: { //请求日志
                    type: 'dateFile',
                    filename: 'log4js/adminPro/info',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
                err: { //错误日志
                    type: 'dateFile',
                    filename: './log4js/adminPro/err',
                    pattern: '-yyyy-MM-dd.log',
                    alwaysIncludePattern: true
                },
            },
            categories: {
                default: {
                    appenders: ['err', 'info'],
                    level: 'error'
                }
            }
        }
    },
}


export default config